﻿<xsl:stylesheet version="1.0" 
	xmlns:date="http://exslt.org/dates-and-times"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="date">

<xsl:param name="IsBlogOwner" />
<xsl:param name="RelativeUrl" />
<xsl:param name="CustomRssUrl" />


<xsl:output omit-xml-declaration="yes" />

<xsl:template match="/">

		<a id="rss">
			<xsl:attribute name="href">
				<xsl:choose>
					<xsl:when test="$CustomRssUrl != ''"><xsl:value-of select="$CustomRssUrl"/></xsl:when>
					<xsl:otherwise><xsl:value-of select="$RelativeUrl"/>/rss.xml</xsl:otherwise>
				</xsl:choose>
			</xsl:attribute>
						<img alt="RSS Feed" style="border:none">

					<xsl:attribute name="src">
						<xsl:value-of select="$RelativeUrl"/>/Themes/default/images/RSS.png
					</xsl:attribute>
</img> Feed your read!
		</a>
<br/>

</xsl:template>

</xsl:stylesheet>

